package com.esun.payment_api.service;

import com.esun.payment_api.bean.InvTaskDetailBean;
import com.esun.payment_api.domain.InvFormTask;
import com.esun.payment_api.domain.SysDictContract;
import com.esun.payment_api.dto.PInvInsParam;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface InvFormTaskService {

    int insert(InvFormTask record);

    int deleteById(Integer id);

    int delete(List<Integer> ids);

    int update(InvFormTask record);

    InvTaskDetailBean getById(Integer id);

    List<InvFormTask> getListByInvId(Integer invId);

    //新增多个任务号--存储过程
    void insertMultiple(PInvInsParam param);

    //获取可关联的合同列表
    List<SysDictContract> getSelectContractList(Short coId, Integer invId, String searchStr, Integer pageSize, Integer pageNum);
}
